using System;
using System.Collections.Generic;

namespace Flood.Extensions
{
	public static class IEnumerableTExtensions
	{
		public static IEnumerable<T> ForEach<T>(this IEnumerable<T> items, Action<T> action)
		{
			foreach (T item in items)
			{
				action(item);
			}
			return items;
		}
	}
}